HIDE OBJECT BOUNDS

This command will hide the wireframe bounds that reveal the collision sphere and collision boundbox associated with the object.

  Syntax
HIDE OBJECT BOUNDS Object Number
  Parameters
Object Number
Integer
The object number

  Returns

This command does not return a value.

  Description

These bounds are originally revealed by using the SHOW OBJECT BOUNDS command.

  Example Code
sync on : sync rate 60 :hide mouse:cls 0
autocam off
ObjectNumber=1
SecondObject=2
make object cone ObjectNumber,10
xrotate object ObjectNumber,90
fix object pivot ObjectNumber
color object ObjectNumber,rgb(0,255,0)
position object ObjectNumber, 0,0,0
SHOW OBJECT BOUNDS ObjectNumber
clone object SecondObject,ObjectNumber
color object SecondObject,rgb(255,0,0)
position object SecondObject,25,0,25
while mouseclick()=0
position camera object position x(SecondObject),object position y(SecondObject),object position z(SecondObject)+20
point camera object position x(SecondObject),object position y(SecondObject),object position z(SecondObject)
sync
endwhile
HIDE OBJECT BOUNDS ObjectNumber
delete object ObjectNumber
delete object SecondObject
end
  See also

BASIC3D Commands Menu
Index